PhoneGap Shell QR Codes

Description

Generate QR Codes for the UX Component name or Server Address for loading and testing Cordova applications in the PhoneGap-Shell-V2 (Cordova shell).

images/phonegapqrcode.png

When testing an app using the PhoneGap-Shell-V2 template, both the UX Component name and the URL for Ajax callbacks are required in order to load and test the application. Both the component name and Ajax callback URL can be loaded using a QR Code generated using the PhoneGap Shell QR Codes menu option. Codes for a UX Component's name and URL for Ajax Callbacks for an application can be generated. These codes can then be scanned in the Cordova shell application for testing on a mobile device.

Generating a QR Code for a UX Component Name

  1. On the Controls pane in the UX Builder, open the Show additional options menu and select PhoneGap Shell QR Codes... from the list of options.

    images/shellv2_qr1.png
  2. When prompted, choose Component name.

    images/phonegapqrcode_component.png
  3. Alpha Anywhere will generate a QR Code that contains the component's name. Scan the QR Code using the QR Code scanner in the Cordova Shell app installed on a mobile device. Close the UX Component Name QR Code dialog when you are finished.

    images/phonegapqrcode_componentqr.png

Generating a QR Code for a Server Address

  1. On the Controls pane in the UX Builder, open the Show additional options menu and select PhoneGap Shell QR Codes... from the list of options.

    images/shellv2_qr1.png
  2. When prompted, choose Server Address from the popup menu.

    images/shellv2_qr2.png
  3. If generating a QR Code for a Server Address, enter the URL and a short description of the URL in the URL for Ajax Callbacks dialog. The URL is the URL to the server where the published application resides. For example:

    https://www.myapp.com/folderWhereAppWasPublished/
    images/shellv2_qr3.png
  4. Click OK to generate the QR Code. Scan the QR Code using the QR Code scanner in the Cordova Shell app installed on a mobile device.

    images/shellv2_qr4.png

See Also